package com.ctrlcar.giftrecord.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ctrlcar.giftrecord.dto.ReceiveGiftDTO;
import com.ctrlcar.giftrecord.pojo.ReceiveGift;
import com.ctrlcar.giftrecord.pojo.model.Result;
import com.ctrlcar.giftrecord.vo.ReceiveGiftVo;

import java.util.List;


/**
* @author
* @description 针对表【receive_gift】的数据库操作Service
* @createDate 2025-03-26 16:43:36
*/

public interface ReceiveGiftService extends IService<ReceiveGift> {


    List<ReceiveGiftVo> getReceiveGiftByBookId(Integer bookId,String sel);

    /**
     * 根据用户名，地址修改判断礼书，亲朋
     *
     * @param receiveGiftDTO
     * @return
     */
    Result addReceiveGift(ReceiveGiftDTO receiveGiftDTO);
}
